<html xmlns="http://www.w3.org/1999/xhtml" xmlns:pe="http://primefaces.org/ui/extensions" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui" xmlns:f="http://java.sun.com/jsf/core">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Enterprise Resource Planning - GYM</title>
</h:head>
<h:body>
	<h:panelGrid columns="1">
		<p:dialog widgetVar="blockUIWidget" closable="false" header="#{label.carregando}" modal="true" width="300">
			<center>
				<h:graphicImage value="/resources/images/loading.gif" />
			</center>
		</p:dialog>
	</h:panelGrid>

	<div align="center">
		<p:layout fullPage="true" id="layout">

			<h:outputStylesheet library="css/template" name="style.css" />

			<p:layoutUnit position="north" size="163">
				<h:panelGrid id="idNorthLayout">
					<ui:include src="/resources/template/top.xhtml" />
				</h:panelGrid>
			</p:layoutUnit>


			<p:layoutUnit position="center" id="idCenterLayout">
				<ui:include src="/resources/template/menu.xhtml" />
				
				<h:panelGrid id="currrentPage">
					<ui:include src="#{usuarioNavegacaoSession.currentPageContent}" />
				</h:panelGrid>
			</p:layoutUnit>

		</p:layout>
	</div>
</h:body>
</html>